<div class="span12">
    <h3 class="heading">Registro de Nuevo Padre o Tutor</h3>    
    <?php echo $this->Form->create('Padre', array('id'=>'PadreAddForm')); ?>
    
    <div class="formSep">
        <div class="row-fluid">
            <div class="span8">
                <label>Nombre <span class="f_req">*</span></label>
                <?php echo $this->Form->text('nombre', array('class' => 'span12', 'required')); ?>
            </div>            
        </div>
    </div>
    
    <div class="formSep">
        <div class="row-fluid">
            <div class="span4">
                <label>Apellido Paterno </label>
                <?php echo $this->Form->text('ap_paterno', array('class' => 'span12')); ?>
            </div>
            <div class="span4">
                <label>Apellido Materno </label>
                <?php echo $this->Form->text('ap_materno', array('class' => 'span12')); ?>
            </div>
        </div>
    </div>

    <div class="formSep">
        <div class="row-fluid">                
            <div class="span4">
                <label><span class="error_placement">Genero</span> <span class="f_req">*</span></label>
                <label class="radio inline">
                    <input type="radio" value="M" name="data[Padre][sexo]" checked="checked" />
                    Masculino
                </label>
                <label class="radio inline">
                    <input type="radio" value="F" name="data[Padre][sexo]" />
                    Femenino
                </label>
            </div>               
        </div>
    </div>
    <div class="formSep">
        <div class="row-fluid">
            <div class="span4">
                <label>Nro Documento</label>
                <?php echo $this->Form->text('ciudad', array('class' => 'span12')); ?>
            </div>
            <div class="span4">
                <label><span class="error_placement">Estado civil</span> <span class="f_req">*</span></label>
                <label class="radio inline">
                    <input type="radio" value="C" name="data[Padre][estadocivil]" checked="checked" />
                    Casado
                </label>
                <label class="radio inline">
                    <input type="radio" value="S" name="data[Padre][estadocivil]" />
                    Soltero
                </label>
                <label class="radio inline">
                    <input type="radio" value="V" name="data[Padre][estadocivil]" checked="checked" />
                    Viudo
                </label>
                <label class="radio inline">
                    <input type="radio" value="D" name="data[Padre][estadocivil]" checked="checked" />
                    Divorsiado
                </label>
            </div>
        </div>
    </div>
    <div class="formSep">
        <div class="row-fluid">
            <div class="span4">
                <label>Celular</label>
                <?php echo $this->Form->text('celular', array('class' => 'span12')); ?>
            </div>
            <div class="span4">
                <label>Telefono</label>
                <?php echo $this->Form->text('telefono', array('class' => 'span12')); ?>
            </div>
        </div>
    </div>
    <div class="formSep">
        <div class="row-fluid">
            <div class="span4">
                <label>Email</label>
                <?php echo $this->Form->text('email', array('class' => 'span12')); ?>
            </div>
        </div>
    </div>
    
    <div class="formSep">
        <div class="row-fluid">
            <div class="span8">
                <label>Direccion </label>
                <?php echo $this->Form->text('direccion', array('class' => 'span12')); ?>
            </div>            
        </div>
    </div>

    <div class="formSep">
        <div class="row-fluid">
            <div class="span8">
                <label>Observaciones </label>
                <!--
    <textarea name="reg_your_message" id="reg_your_message" cols="10" rows="3" class="span8"></textarea>
                -->
                <?php echo $this->Form->textarea('observaciones', array('cols' => 10, 'rows' => 3, 'class' => 'span8')); ?>
            </div>
        </div>
    </div>
    <div class="form-actions">
        <button class="btn btn-success" type="submit">Editar padre o tutor</button>        
    </div>   
</form>
</div>
<script type="text/javascript">
    $(document).ready(function(){
        $("#fecha").inputmask("d/m/y",{ "placeholder": "dd/mm/aaaa" });
    });
</script>
<!-- sidebar -->
<?php echo $this->element('sidebar/padres'); ?>
<!-- fin sidebar -->
<?php //llamamos scripts tablas ?>
<?php echo $this->element('jsformularios'); ?>